package com.m2bshop.shop.pojo;

public class Wallet {
    private int userid;//用户id
    private String identity;//用户身份证
    private String phone;//用户电话号
    private double balance;//用户余额
    private String payment;//支付密码

    @Override
    public String toString() {
        return "Wallet{" +
                "userid=" + userid +
                ", identity='" + identity + '\'' +
                ", phone='" + phone + '\'' +
                ", balance=" + balance +
                ", payment=" + payment +
                '}';
    }

    public Wallet() {
    }

    public Wallet(int userid, String identity, String phone, double balance, String payment) {
        this.userid = userid;
        this.identity = identity;
        this.phone = phone;
        this.balance = balance;
        this.payment = payment;
    }

    public Wallet(String identity, String phone, double balance, String payment) {
        this.identity = identity;
        this.phone = phone;
        this.balance = balance;
        this.payment = payment;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }
}
